package com.lzq.badminton.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lzq.badminton.dto.UpdateBookingDto;
import com.lzq.badminton.entity.Booking;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface BookingMapper extends BaseMapper<Booking> {

    void updateStatus(Long bookingId, Integer status);

    int orderBooking(UpdateBookingDto updateBookingDto);

    void clearOrderId(Long orderid);
}
